package com.wgo.precise.server.wiring;

import java.util.Arrays;
import java.util.Collection;

import com.wgo.bpot.domain.common.UserRole;
import com.wgo.bpot.server.configuration.UserRoleRegistry;
import com.wgo.precise.privilege.PreciseUserRole;

/**
 * @version $Id: PreciseUserRoleRegistry.java 540 2008-01-09 19:42:31Z petter.eide $
 */
public enum PreciseUserRoleRegistry implements UserRoleRegistry {
    REGISTRY;
    
    public Collection<UserRole> getUserRoles() {
        return Arrays.asList((UserRole[])PreciseUserRole.values());
    }
}
